<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<!-- meta -->
<meta name="keywords" content="">
<meta name="description" content="">
<!-- /meta -->
<title>ユーザグループ登録</title>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/headerfooter.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/ulol.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/arrow.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements.css">
<!-- admin -->
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base_admin.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements_admin.css">
<!-- /admin -->
<script type="text/javascript" src="<%= request.getContextPath() %>/common/js/library.js"></script>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie3.css">
<!--[if gte IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_over_winie5.css">
<![endif]-->
<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie5.css">
<![endif]-->
</head>
<body id="dch">
<!-- === headerArea === -->
<div id="headerArea">
<a name="pageTop" id="pageTop"></a>
<jsp:include page="/common/include/header.jsp" />
</div><!-- === /headerArea === -->
<!-- === mainArea === -->
<div id="mainArea">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<td width="140" id="leftArea">
		<!-- === leftArea === -->
			<jsp:include page="../user_menu.jsp"/>
			<!-- /listA01 -->
		<!-- === /leftArea === -->
		</td>
		<td width="20"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="20" height="4" border="0" alt=""></td>
		<td id="contentsArea">
		<!-- === contentsArea === -->
			<!-- headingLv01Block -->
			<div class="headingLv01Block">
				<!-- headingLv01 -->
				<h1>ユーザグループ登録</h1>
				<!-- /headingLv01 -->
			</div>
			<!-- /headingLv01Block -->
			<!-- columnB01 -->
			<div class="columnB01">
			</div>
			<!-- /columnB01 -->
			<!-- headingLv02 -->
			<div class="headingLv02">
			<table border="0" cellspacing="0" cellpadding="5" width="558">
				<tr>
					<td><p><em>ユーザグループ情報<br></em></p></td>
				</tr>
			</table>
			</div>
			<!-- /headingLv02 -->
			<form action="<%= request.getContextPath() %>/users/group-confirm" method="post">
				<s:hidden name="actionType"/>
				<s:hidden name="userGroupView.createUser"/>
				<s:hidden name="userGroupView.createDate"/>
				<s:hidden name="userGroupView.updateUser"/>
				<s:hidden name="userGroupView.updateDate"/>

			<!-- tableBlock -->
			<div class="tableBlock">
				<!-- tableA01 -->
				<s:fielderror/>
				<s:actionerror/>
				<s:actionmessage/>
				<div class="tableA01">
				<table border="1" cellspacing="0" cellpadding="5" width="558">
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">ユーザグループID</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td>
							<s:if test='actionType=="ADD"'>
								<s:textfield name = "userGroupView.id" size="30" maxlength="30" />
							</s:if>
							<s:else>
								<s:property value="userGroupView.id"/>
								<s:hidden name="userGroupView.id"/>
							</s:else>
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fDescription">ユーザグループ名</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td>
							<s:textfield name = "userGroupView.name" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="createUser">登録者</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.createUser"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="createDate">登録日付</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.createDate"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="modifyUser">最終更新者</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.updateUser"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="modifyDate">最終更新日付</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.updateDate"/></td>
					</tr>
				</table>
				</div>
				<!-- /tableA01 -->
			</div>
			<!-- /tableBlock -->
				<s:if test='actionType=="MOD"'>
					<div class="headingLv02">
					<table border="0" cellspacing="0" cellpadding="5" width="558">
						<tr>
							<td><p><em>所属ユーザ<br></em></p></td>
						</tr>
					</table>
					</div>

					<!-- tableBlock -->
					<div class="tableBlock">
						<!-- tableA01 -->
						<div class="tableA01">
						<table border="1" cellspacing="0" cellpadding="5">
							<tr>
								<th class="lv01B">ユーザID</th>
								<th class="lv01B">ユーザ名</th>
							</tr>
								<s:iterator value="userList" status="stat">
								<tr>
									<td>
										<s:property value="id"/>
										<s:hidden name="userList[%{#stat.index}].id" />
									</td>
									<td>
										<s:property value="name"/>
										<s:hidden name="userList[%{#stat.index}].name" />
									</td>
								</tr>
								</s:iterator>
						</table>
						</div>
						<!-- /tableA01 -->
					</div>
				</s:if>
			<!-- pageNaviC01 -->
			<div class="pageNaviC01">
			<table border="0" cellspacing="0" cellpadding="10" width="558">
				<tr>
					<td width="298" class="left"><p><input type="button" value="キャンセル" style="width:100px" onclick="location.href='<%= request.getContextPath() %>/output/modoru'"></p></td>
					<td width="130" class="left">&nbsp;</td>
					<td width="130" class="right"><p><input type="submit" value="確認する" style="width:130px"></p></td>
				</tr>
			</table>
			</div>
			<!-- /pageNaviC01 -->
			</form>
		<!-- === /contentsArea === -->
		</td>
		<td width="16"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="16" height="4" border="0" alt=""></td>
	</tr>
</table>
</div><!-- === /mainArea === -->
<!-- === footerArea === -->
<div id="footerArea">
<jsp:include page="/common/include/footer.jsp" />
<!--#include virtual="<%= request.getContextPath() %>/common/include/footer.html" -->
</div><!-- === /footerArea === -->
</body>
</html>
<!-- System Architect is COOBA Corp
	Copyright 2010 COOBA Corp All rights reserved -->